package com.wlanauth.domain.manage;

import java.util.Date;

import com.wlanauth.core.domain.Entity;
/**
 * 用户
 * @author zz
 * @date 2012-5-9
 * @email charles.zz.life@gmail.com
 */
public class User extends Entity {
	
	private static final long serialVersionUID = 1L;
	
	public static final String STATUS_DISABLED = "DISABLED";//禁用
	public static final String STATUS_ENABLED = "ENABLED";//启用
	
	public static final String TYPE_DEFAULT = "DEFAULT";
	
	private String id;
	
	private String username;
	
	private String password;
	
	private String displayname;
	private Date joinTime;//入网时间
	
	private Date activeTime;//激活时间
	
	private Date expiredTime;//过期时间
	
	
	private String bindIP;//绑定的IP
	
	private String contactPhone;//联系电话
	
	private String email;//邮箱
	
	private Date birth;//生日
	
	private String address;//地址
	
	private String description;//备注
	
	private String status;//状态
	
	private String sexId;//性别(可为空)
	
	private String userType;//用户类型(暂未用到,存流量卡)
	
	private Float maxOctets;//最大流量
	private Double ratedFee;//应付金额
	private Double actualFee;//实付金额
	
	private String batchId;//导入批次
	
	private String puk;//PUK码
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDisplayname() {
		return displayname;
	}

	public void setDisplayname(String displayname) {
		this.displayname = displayname;
	}

	public Date getJoinTime() {
		return joinTime;
	}

	public void setJoinTime(Date joinTime) {
		this.joinTime = joinTime;
	}

	public Date getActiveTime() {
		return activeTime;
	}

	public void setActiveTime(Date activeTime) {
		this.activeTime = activeTime;
	}

	public Date getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}
	
	

	public Float getMaxOctets() {
		return maxOctets;
	}

	public void setMaxOctets(Float maxOctets) {
		this.maxOctets = maxOctets;
	}

	public String getBindIP() {
		return bindIP;
	}

	public void setBindIP(String bindIP) {
		this.bindIP = bindIP;
	}


	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String desc) {
		this.description = desc;
	}

	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSexId() {
		return sexId;
	}

	public void setSexId(String sexId) {
		this.sexId = sexId;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public Double getRatedFee() {
		return ratedFee;
	}

	public void setRatedFee(Double ratedFee) {
		this.ratedFee = ratedFee;
	}

	public Double getActualFee() {
		return actualFee;
	}

	public void setActualFee(Double actualFee) {
		this.actualFee = actualFee;
	}

	public String getBatchId() {
		return batchId;
	}

	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}

	public String getPuk() {
		return puk;
	}

	public void setPuk(String puk) {
		this.puk = puk;
	}
	
	
	
}
